package com.school.revervationSys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.school.revervationSys.dto.ReverVationDto;
import com.school.revervationSys.entity.Revervation;
import com.school.revervationSys.vo.RevervationVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author msj
 * @since 2024-04-13
 */
public interface IRevervationService extends IService<Revervation> {

    boolean addRevervation(Revervation revervation);

    boolean updateRevervation(Revervation revervation);
    boolean delete(Integer revervationId);

    boolean batchDelete(List<Integer> ids);

    RevervationVo revationInfo(Integer revervationId);
    List<Revervation>  revervationList(ReverVationDto param);
}
